/**
 * All rights Reserved, Designed By www.beonelot.com
 * @Package: com.jinxin.platform.eleinspect.service.impl
 * @Filename: EleinspectPointManageServiceImpl.java
 * @Description: TODO(EleinspectPointManageService接口实现)
 * @author: 金鑫智慧
 * @date: 2020-03-30
 * @version: V1.0
 * @Copyright: 2020 www.beonelot.com Inc. All rights reserved.
 * 注意：本内容仅限于重庆金鑫智慧科技有限公司内部传阅，禁止外泄以及用于其他的商业目的
 */
package com.jinxin.platform.cdelecinspect.service.impl;

import com.jinxin.platform.cdelecinspect.mapper.EleinspectPointManageMapper;
import com.jinxin.platform.cdelecinspect.mapper.pojo.EleinspectPointManage;
import com.jinxin.platform.cdelecinspect.service.EleinspectPointManageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;

/**
 * TODO(EleinspectPointManageService接口实现)
 * @Classn: EleinspectPointManageServiceImpl
 * @author Lynn
 * @date 2020-03-30
 */
@Service
public class EleinspectPointManageServiceImpl implements EleinspectPointManageService {
    @Autowired
    EleinspectPointManageMapper eleinspectPointManageMapper;

    @Override
    public List<EleinspectPointManage> listPage(HashMap param) {
        return eleinspectPointManageMapper.listPage(param);
    }

    @Override
    public int listPageCount(HashMap param) {
        return eleinspectPointManageMapper.listPageCount(param);
    }

    @Override
    public int savePointInfo(EleinspectPointManage eleinspectPointManage) {
        return eleinspectPointManageMapper.insert(eleinspectPointManage);
    }

    @Override
    public int deleteByPointId(String pointId) {
        return eleinspectPointManageMapper.deleteByKey(pointId);
    }

    @Override
    public EleinspectPointManage selectByKey(String pointId) {
        return eleinspectPointManageMapper.selectByKey(pointId);
    }

    @Override
    public int updateByKey(EleinspectPointManage eleinspectPointManage) {
        return eleinspectPointManageMapper.updateByKey(eleinspectPointManage);
    }

    @Override
    public List<EleinspectPointManage> listPointsByLineId(String lineId) {
        return eleinspectPointManageMapper.listPointsByLineId(lineId);
    }


}
